<script>
import { Bell ,Discount,StarFilled} from "@element-plus/icons-vue";
export default {
  components: {
    Bell,
    Discount,
    StarFilled
  },
};
</script>
<template>
  <el-menu default-active="2" class="el-menu-vertical-demo" router>
    <el-menu-item index="/">
      <el-icon><Discount /></el-icon>
      <template #title>
        <span>首页</span>
      </template> 
    </el-menu-item>

    <!-- -----------孙磊------------ -->

    <el-sub-menu index="/Notice">
      <template #title>
        <el-icon><Bell /></el-icon>
        <span>通知管理</span>
      </template>
      <el-menu-item index="/Notice/noticeshow">通知列表</el-menu-item>
      <el-menu-item index="/Notice/publishNoitce">发布通知</el-menu-item>
      <el-menu-item index="/Notice/noticetxt">通知类型管理</el-menu-item>
    </el-sub-menu>

    <el-sub-menu index="/healthy">
      <template #title>
        <el-icon><StarFilled /></el-icon>
        <span>健康中心</span>
      </template>
      <el-menu-item index="/healthy/healthylist">带药提醒发送</el-menu-item>
      <el-menu-item index="/healthy/healthyshow">发送提醒</el-menu-item>
      <el-menu-item index="/healthy/healthytxt">查看</el-menu-item>
    </el-sub-menu>

    <!-- ----------------杨凯旋--------------------- -->

    <el-sub-menu index="/attendance">
      <template #title>
        <span>出勤确认</span>
      </template>
    <el-menu-item index="/attendance/attendanceName">今日点名</el-menu-item>
    <el-menu-item index="/attendance/attendanceList">出勤统计</el-menu-item>
    </el-sub-menu>

    <!-- ------------王泽甲------------ -->

    <el-sub-menu index="/schoolOverview">
      <template #title>
        <!-- <el-icon> 
 <location />
 </el-icon> -->
        <span>学校管理</span>
      </template>
      <el-menu-item index="/schoolOverview">学校概况</el-menu-item>
    </el-sub-menu>

    <!-- ============== 杨旭东========== -->

    <el-sub-menu index="/yxd">
      <template #title>
        <span>相册管理</span>
      </template>
      <el-menu-item index="/yxd/sh">相册列表</el-menu-item>
      <el-menu-item index="/yxd/xc">审核列表</el-menu-item>
      <el-menu-item index="/yxd/sz">审核设置</el-menu-item>
    </el-sub-menu>

    <!-- =========李文静========== -->

    <el-sub-menu index="/leave">
      <template #title>
        <span>请假申请</span>
      </template>
      <el-menu-item index="/leave/leaveApp">请假列表</el-menu-item>
      <el-menu-item index="/leave/leaveList">请假申请</el-menu-item>
      <el-menu-item index="/Notice/detailedNotice">通知内容</el-menu-item>
    </el-sub-menu>


  </el-menu>
</template>